/**
 * Created by zhaoyanzhi on 16-10-10.
 */
/**
 * Created by zhaoyanzhi on 16-9-19.
 */
var app = angular.module('myApp', ['ngRoute']);
/*app.run(function(){
    var APP_ID = 'RaXOd37qSYs8fKCN82nbC9zd-gzGzoHsz';
    var APP_KEY = 'SMJDrjpJOmuyEuTXjm5lW2BM';
    AV.init({
        appId: APP_ID,
        appKey: APP_KEY
    })});*/
app.config(['$routeProvider',function($routeProvider){
    $routeProvider
        .when("/",{
            templateUrl: "../view/landingPage.html",
            controller:"landingPage"
        })
        .when("/registeredPage",{
            templateUrl: "../view/registeredPage.html",
            controller:"registeredPage"
        })
        .otherwise({redirectTo:'/'})
}]);
